@include('admin.common.header')

<!--tab nav start-->
<section class="panel">
    <header class="panel-heading tab-bg-dark-navy-blue ">
        <ul class="nav nav-tabs">
            <li @if ($_active['_action'] == 'list')  class="active" @endif>
                <a href="/admin/loanapply">贷款申请列表</a>
            </li>
            <li @if ($_active['_action'] == 'add')  class="active" @endif>
                <a href="/admin/loanapply/add">添加贷款申请</a>
            </li>
        </ul>
    </header>
    <div class="panel-body">
        <div class="tab-content">
            <div class="row cmxform form-horizontal tasi-form">
                <div class="col-lg-6">
                    <section class="panel">
                        <div class="panel-body">
                            <div class="form-group ">
                                <label for="name" class="control-label col-lg-2">姓名</label>
                                <div class="col-lg-10">
                                    <input class="form-control form-item" name="id" placeholder="" value="{{$loanapply->id}}" type="hidden" />
                                    <input class="form-control form-item" name="name" placeholder="" value="{{$loanapply->name}}" type="text" />
                                </div>
                            </div>
                        </div>
                        <div class="panel-body">
                            <div class="form-group ">
                                <label for="name" class="control-label col-lg-2">贷款金额</label>
                                <div class="col-lg-10">
                                    <input class="form-control form-item" name="money" placeholder="" value="{{$loanapply->money}}" type="text" />
                                </div>
                            </div>
                        </div>
                        <div class="panel-body">
                            <div class="form-group ">
                                <label for="name" class="control-label col-lg-2">微信</label>
                                <div class="col-lg-10">
                                    <input class="form-control form-item" id="weixin" name="weixin" value="{{ $loanapply->weixin }}" placeholder="" type="text" />
                                </div>
                            </div>
                        </div>
                        <div class="panel-body">
                            <div class="form-group ">
                                <label for="name" class="control-label col-lg-2">房产情况</label>
                                <div class="col-lg-10">
                                    <input class="form-control form-item" id="ishavehouse" name="ishavehouse" value="{{ $loanapply->ishavehouse }}" placeholder="" type="text" />
                                </div>
                            </div>
                        </div>

                    </section>
                </div>

            </div>
            <div class="col-lg-12 text-center">
                <button class="btn btn-danger form-submit" type="button">修改</button>
            </div>
        </div>
    </div>
</section>
<!--tab nav start-->

<script>
    require(['app/loanapplyedit', 'common/uploadImg', 'libs/layDate-v5.0.9/laydate/laydate'] , function (loanapplyedit, uploadImg, layerDate) {
        loanapplyedit.ajaxEditloanapply();
        uploadImg.upImg(1);
        uploadImg.removeImg();

    });
</script>

@include('admin.common.footer')